/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 查询游客信息详情 GET /scenic/touristUser/getTouristUser */
export async function scenicTouristUserGetTouristUserUsingGet({
  params,
  options,
}: {
  // 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
  params: API.scenicTouristUserGetTouristUserUsingGetParams;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingyoukexinxivo>(
    '/scenic/touristUser/getTouristUser',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}

/** 分页查询游客用户信息 POST /scenic/touristUser/pageTouristUser */
export async function scenicTouristUserPageTouristUserUsingPost({
  body,
  options,
}: {
  body: API.TouristUserBodd183aae2c75494d809aC9b8aa1d5b91;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingPageDataVoyoukexinxivo>(
    '/scenic/touristUser/pageTouristUser',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 修改游客信息 PUT /scenic/touristUser/updateTouristUser */
export async function scenicTouristUserUpdateTouristUserUsingPut({
  body,
  options,
}: {
  body: API.TouristUserBo8da72d6389124071A3cfB4845a0b2573;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingboolean>(
    '/scenic/touristUser/updateTouristUser',
    {
      method: 'PUT',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
